Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Non-Immediate CSV Generation / Test for async download #35038

Conversation

tsullivan
Copy link
Member

@tsullivan tsullivan commented Apr 12, 2019

Summary

Depends on #35011

This fixes "non-immediate" CSV generation.

The cause of the bug was that CSV generation depends on the payload body data of the request. That is fine when CSV is generated immediately because the actual request is available in context. For Non-Immediate, the payload body data needs to come from stored JobParams data: the meta-data that gets created during createJob.

  • Removes ReqPayload type
  • Adds JobParamPostPayload which is a new field of JobParams

@tsullivan tsullivan added the (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead label Apr 12, 2019
@tsullivan tsullivan requested a review from joelgriffith April 12, 2019 23:40
state: {
query: any;
sort: any[];
columns: string[]; // TODO
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elasticmachine

This comment has been minimized.

…-for-immediate' into feature/reporting/csv-export-panel-action-fix-async
@elasticmachine

This comment has been minimized.

…-for-immediate' into feature/reporting/csv-export-panel-action-fix-async
@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@tsullivan
Copy link
Member Author

The actual change starts here: 527df35

@joelgriffith joelgriffith force-pushed the feature/reporting/csv-export-panel-action branch from 3334140 to 4446428 Compare April 15, 2019 20:16
@joelgriffith
Copy link
Contributor

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@joelgriffith
Copy link
Contributor

retest

…/reporting/csv-export-panel-action-fix-async
@elasticmachine
Copy link
Contributor

💔 Build Failed

@joelgriffith joelgriffith merged commit 70c87c4 into elastic:feature/reporting/csv-export-panel-action May 3, 2019
@tsullivan tsullivan deleted the feature/reporting/csv-export-panel-action-fix-async branch August 15, 2019 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants